Tcl_Interp *_i_n_t_e_r_p (in) Interpreter in which the error occurred.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
This procedure is typically invoked when a Tcl error occurs during
``background processing'' such as executing a Tcl command in response to
a button press or menu entry invocation. When such an error occurs, the
error condition is reported to Tk or to a widget or some other C code,
and there is not usually any obvious way for that code to report the
error to the user. In these cases the code calls TTTTkkkk____BBBBaaaacccckkkkggggrrrroooouuuunnnnddddEEEErrrrrrrroooorrrr with
an _i_n_t_e_r_p argument identifying the interpreter in which the error
occurred. TTTTkkkk____BBBBaaaacccckkkkggggrrrroooouuuunnnnddddEEEErrrrrrrroooorrrr attempts to invoke the ttttkkkkeeeerrrrrrrroooorrrr Tcl command
to report the error in an application-specific fashion. If no ttttkkkkeeeerrrrrrrroooorrrr
command exists, or if it returns with an error condition, then
TTTTkkkk____BBBBaaaacccckkkkggggrrrroooouuuunnnnddddEEEErrrrrrrroooorrrr reports the error itself by printing a message on the
standard error file.
TTTTkkkk____BBBBaaaacccckkkkggggrrrroooouuuunnnnddddEEEErrrrrrrroooorrrr does not invoke ttttkkkkeeeerrrrrrrroooorrrr immediately (in some cases |
this could interfere with scripts that are in process at the time the |
error occurred). Instead, it invokes ttttkkkkeeeerrrrrrrroooorrrr later as an idle callback. |
TTTTkkkk____BBBBaaaacccckkkkggggrrrroooouuuunnnnddddEEEErrrrrrrroooorrrr saves the values of the eeeerrrrrrrroooorrrrIIIInnnnffffoooo and eeeerrrrrrrroooorrrrCCCCooooddddeeee |
variables and restores these values just before invoking ttttkkkkeeeerrrrrrrroooorrrr. |
It is possible for many background errors to accumulate before ttttkkkkeeeerrrrrrrroooorrrr is|
invoked. When this happens, each of the errors is processed in order. |
However, if ttttkkkkeeeerrrrrrrroooorrrr returns a break exception, then all remaining error |